package com.jingdun.sport.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jingdun.sport.activity.SportRecords;
import com.jingdun.sport.bean.model.NewSportRecords;
import com.jingdun.sport.bean.model.SportRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

public interface NewSportRecordsMapper extends BaseMapper<NewSportRecords> {
    List<NewSportRecords> getListByActivityId(@Param("activityIdSet") Set<Long> ufinishedActivityIdSet);

    public NewSportRecords userNewSportProjectBy(@Param("sportProject") Long sportProject, @Param("userId") String userId);
}
